<template>
  <div>
    <div v-if="WWData">
    <div>
     <div align="center">
        <div style="width: 660px" align="left">
          <!-- <div
            v-if="GLcode"
            id="vpnEdizgBill_divInternetLsh"
            style="
              float: right;
              color: #24568f;
              padding: 30px 20px 0 0;
              font-size: 14px;
            "
          >
            关联单号：<span
              id="vpnEdizgBill_internetGLDH"
              class="textlable"
              readonly="True"
              ></span
            >
          </div> -->
          <div style="clear: both"></div>
        </div>
    <table align="center" style="margin: 0 auto;" width="680px" border="0" cellspacing="0" cellpadding="0">
        <tbody><tr>
            <td align="center" class="bt" style="font-family: 方正姚体;">上海电子口岸企业数据协同系统申请使用登记表(自理报关)
            </td>
        </tr>
    </tbody></table>

   <table
            width="645px"
            height="30px"
            border="0"
            cellspacing="0"
            cellpadding="0"
            style="margin-top: 5px"
          >
            <tbody>
              <tr>
                <td align="center" style="font-size: 14px">
                  系统名称:
                  <span
                    id="vpnEdizgBill_XMMC1"
                    class="textlable"
                    readonly="True"
                    style="display: inline-block; width: 250px"
                    >{{ formRecord.XMMC }}</span
                  >
                  申请编号:
                  <span
                    id="vpnEdizgBill_LSH"
                    class="textlable"
                    readonly="True"
                    style="display: inline-block; width: 90px"
                    >{{formRecord.LSH}}</span
                  >
                  日期:
                  <span
                    id="vpnEdizgBill_APPLYTIME1"
                    class="textlable"
                    readonly="True"
                    style="display: inline-block; width: 130px"
                    >{{ formRecord.APPLYTIME }}</span
                  >
                </td>
              </tr>
            </tbody>
          </table>
    <table width="680px" style="margin: 0 auto;" border="0" cellspacing="0" cellpadding="0">
        <tbody><tr>
            <td class="k00">
                <table width="100%" border="0" cellspacing="0" cellpadding="8px">
                    <tbody>
                      <tr>
                        <td class="k00 kTitle">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tbody><tr>
                                    <td width="110px">以下由申请企业填写：
                                    </td>
                                </tr>
                            </tbody></table>
                        </td>
                    </tr>
                </tbody></table>
                <table
                  width="100%"
                  border="0"
                  cellspacing="0"
                  cellpadding="6px"
                >
                  <tbody>
                    <tr>
                      <td class="k00 kTitle">
                        <table
                          width="100%"
                          border="0"
                          cellspacing="0"
                          cellpadding="0"
                        >
                          <tbody>
                            <tr>
                              <td width="110px">单位名称(全称):</td>
                              <td>
                                <span
                                  id="vpnEdizgBill_DWMC1"
                                  class="textlable"
                                  readonly="True"
                                  style="display: inline-block; width: 100%"
                                  >{{WWData.DWMC}}</span
                                >
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="6px">
                <tbody>
                  <tr>
                    <td width="170px" class="k01">
                      <table
                        width="100%"
                        border="0"
                        cellspacing="0"
                        cellpadding="0"
                      >
                        <tbody>
                          <tr>
                            <td width="70px">法人代表:</td>
                            <td>
                              <span
                                id="dischargeApply_txtFRDB"
                                class="textlable"
                                readonly="True"
                                style="display: inline-block; width: 100px"
                                >{{WWData.FRDB}}</span
                              >
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                    <td width="268" class="k02">
                      <table
                        width="100%"
                        border="0"
                        cellspacing="0"
                        cellpadding="0"
                      >
                        <tbody>
                          <tr>
                            <td width="70px">单位地址:</td>
                            <td>
                              <span
                                id="dischargeApply_txtDWDZ"
                                class="textlable"
                                readonly="True"
                                style="display: inline-block; width: 100%"
                                >{{WWData.DWDZ}}</span
                              >
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                    <td width="130px" class="k02">
                      <table
                        width="100%"
                        border="0"
                        cellspacing="0"
                        cellpadding="0"
                      >
                        <tbody>
                          <tr>
                            <td width="40px">邮编:</td>
                            <td>
                              <span
                                id="dischargeApply_txtYB"
                                class="textlable"
                                readonly="True"
                                style="display: inline-block; width: 100px"
                                >{{WWData.YB}}</span
                              >
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="6px">
                <tbody>
                  <tr>
                    <td width="170px" class="k01">
                      <table
                        width="100%"
                        border="0"
                        cellspacing="0"
                        cellpadding="0"
                      >
                        <tbody>
                          <tr>
                            <td width="90px">业务联系人:</td>
                            <td>
                              <span
                                id="dischargeApply_txtFRDB"
                                class="textlable"
                                readonly="True"
                                style="display: inline-block; width: 100px"
                                >{{WWData.YWLXR}}</span
                              >
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                    <td width="268" class="k02">
                      <table
                        width="100%"
                        border="0"
                        cellspacing="0"
                        cellpadding="0"
                      >
                        <tbody>
                          <tr>
                            <td width="70px">手机:</td>
                            <td>
                              <span
                                id="dischargeApply_txtDWDZ"
                                class="textlable"
                                readonly="True"
                                style="display: inline-block; width: 100%"
                                >{{WWData.YWSJ}}</span
                              >
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                    <td width="130px" class="k02">
                      <table
                        width="100%"
                        border="0"
                        cellspacing="0"
                        cellpadding="0"
                      >
                        <tbody>
                          <tr>
                            <td width="40px">电话:</td>
                            <td>
                              <span
                                id="dischargeApply_txtYB"
                                class="textlable"
                                readonly="True"
                                style="display: inline-block; width: 100px"
                                >{{WWData.DH}}</span
                              >
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
                <table
                  width="100%"
                  border="0"
                  cellspacing="0"
                  cellpadding="6px"
                >
                  <tbody>
                    <tr>
                      <td class="k01 kTitle">
                        <table
                          width="100%"
                          border="0"
                          cellspacing="0"
                          cellpadding="0"
                        >
                          <tbody>
                            <tr>
                              <td width="110px">安装地点:</td>
                              <td>
                                <span
                                  id="vpnEdizgBill_DWMC1"
                                  class="textlable"
                                  readonly="True"
                                  style="display: inline-block; width: 100%"
                                  >{{WWData.AZDD}}</span
                                >
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <table
                    width="100%"
                    border="0"
                    cellspacing="0"
                    cellpadding="8px"
                  >
                    <tbody>
                      <tr>
                        <td class="k01">
                          <table
                            width="260px"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="90px">E－Mail:</td>
                                <td>
                                  <span
                                    id="vpnApply_DWDZ"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                    >{{WWData.EMAIL}}</span
                                  >
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                        <td width="448px" class="k01 kTitle">
                          <table
                            width="100%"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="300px">
                                  统一社会信用代码/营业执照号:
                                </td>
                                <td>
                                  <span
                                    id="vpnApply_FRDB"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                    >{{WWData.YYZZH}}</span
                                  >
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                        
                      </tr>
                    </tbody>
                  </table>
                <table
                    width="100%"
                    border="0"
                    cellspacing="0"
                    cellpadding="8px"
                  >
                    <tbody>
                      <tr>
                        <td class="k01">
                          <table
                            width="260px"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="90px">海关注册代码:</td>
                                <td>
                                  <span
                                    id="vpnApply_DWDZ"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                    >{{WWData.HGZCDM}}</span
                                  >
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                        <td width="448px" class="k01 kTitle">
                          <table
                            width="100%"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="100px">
                                  组织机构代码:
                                </td>
                                <td>
                                  <span
                                    id="vpnApply_FRDB"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                    >{{WWData.ZZJGDM}}</span
                                  >
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                        
                      </tr>
                    </tbody>
                </table>
                
                <table width="100%" border="0" cellspacing="0" cellpadding="8px">
                    <tbody>
                      <tr>
                        <td class="k00 kTitle">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tbody><tr>
                                    <td width="110px">目前已有单一窗口报关单申报系统帐号情况：（请在附页表格内填写相关内容）
                                    </td>
                                </tr>
                            </tbody></table>
                        </td>
                    </tr>
                      <tr>
                        <td class="k00 kTitle">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tbody><tr>
                                    <td width="110px">需申请开通企业数据协同系统功能的申报账号（请在附页表格内勾选申报账号）
                                    </td>
                                </tr>
                            </tbody></table>
                        </td>
                    </tr>
                      <tr>
                        <td class="k00 kTitle">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tbody><tr>
                                    <td width="110px">
                                        需申请开通企业数据协同系统的相关功能配置管理（请在相应“○”中选中）
                                    </td>
                                </tr>
                            </tbody></table>
                        </td>
                    </tr>
                </tbody></table>
                <table width="100%" border="0" cellspacing="0" cellpadding="8px">
                    <tbody>
                      <tr>
                        <td class="k00 kTitle">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tbody><tr>
                                    <td width="30px" height="20px">
                                            <span>报关数据是否导入</span>
                                          </td>
                                    <td width="110px">
                                      <span
                                        id="vpnApply_IE"
                                        style="
                                          display: inline-block;
                                          border-style: None;
                                        "
                                        ><input
                                          type="radio"
                                          value="1"
                                          :checked="WWData.SHUJUDAORU == '1'"
                                          disabled=""
                                        /><label for="vpnApply_IE_0">是</label
                                        ></span
                                      >
                                    </td>
                                </tr>
                            </tbody></table>
                        </td>
                    </tr>
                      <tr>
                        <td class="k00 kTitle">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tbody><tr>
                                    <td width="110px">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tbody><tr>
                                    <td width="30px" height="20px">
                                            <span>是否需要通讯回执</span>
                                          </td>
                                    <td width="110px">
                                        <span
                                        style="
                                          display: inline-block;
                                          border-style: None;
                                        "
                                        ><input
                                          type="radio"
                                          value="1"
                                          :checked="WWData.TONGXUHUIZHI == '1'"
                                          disabled=""
                                        /><label for="vpnApply_TONGXUHUIZHI_1">是</label
                                        ><input
                                          type="radio"
                                          value="0"
                                          :checked="WWData.TONGXUHUIZHI == '0'"
                                          disabled=""
                                        /><label for="vpnApply_TONGXUHUIZHI_0"
                                          >否</label
                                        ></span
                                      >
                                    </td>
                                </tr>
                            </tbody></table>
                                    </td>
                                </tr>
                            </tbody></table>
                        </td>
                    </tr>
                      <tr>
                        <td class="k00 kTitle">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tbody><tr>
                                    <td width="110px">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tbody><tr>
                                    <td width="30px" height="20px">
                                            <span>是否需要放行回执</span>
                                          </td>
                                    <td width="110px">
                                        <span
                                        style="
                                          display: inline-block;
                                          border-style: None;
                                        "
                                        ><input
                                          type="radio"
                                          value="1"
                                          :checked="WWData.FANGXINGHUIZHI == '1'"
                                          disabled=""
                                        /><label for="vpnApply_FANGXINGHUIZHI_1">是</label
                                        ><input
                                          type="radio"
                                          value="0"
                                          :checked="WWData.FANGXINGHUIZHI == '0'"
                                          disabled=""
                                        /><label for="vpnApply_FANGXINGHUIZHI_0"
                                          >否</label
                                        ></span
                                      >
                                    </td>
                                </tr>
                            </tbody></table>
                                    </td>
                                </tr>
                            </tbody></table>
                        </td>
                    </tr>
                </tbody></table>
               
                <table
                  width="100%"
                  border="0"
                  cellspacing="0"
                  cellpadding="6px"
                >
                  <tbody>
                    <tr>
                      <td class="k01 kTitle">
                        <table
                          width="100%"
                          border="0"
                          cellspacing="0"
                          cellpadding="0"
                        >
                          <tbody>
                            <tr>
                              <td width="160px">出错信息发送E-Mail地址:</td>
                              <td>
                                <span
                                  id="vpnEdizgBill_DWMC1"
                                  class="textlable"
                                  readonly="True"
                                  style="display: inline-block; width: 100%"
                                  >{{WWData.EMAILERROR}}</span
                                >
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <table
                  width="100%"
                  border="0"
                  cellspacing="0"
                  cellpadding="6px"
                >
                  <tbody>
                    <tr>
                      <td class="k01 kTitle">
                        <table
                          width="100%"
                          border="0"
                          cellspacing="0"
                          cellpadding="0"
                        >
                          <tbody>
                            <tr>
                              <td width="220px">单一窗口报关单申报系统帐号情况:</td>
                              <td>
                                <span
                                  id="vpnEdizgBill_DWMC1"
                                  class="textlable"
                                  readonly="True"
                                  style="display: inline-block; width: 100%"
                                  ></span
                                >
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </tbody>
                </table>
                 <table
                  width="100%"
                  border="0"
                  cellspacing="0"
                  cellpadding="6px"
                >
                  <tbody>
                    <tr>
                      <td class="k01 kTitle">
                        <table
                          width="100%"
                          border="0"
                          cellspacing="0"
                          cellpadding="0"
                        >
                          <tbody>
                            <tr>
                              <td>
                                <span style="display: block"> ● 备注:</span>
                      <textarea
                        name="dischargeApply$txtBZ"
                        rows="3"
                        cols="20"
                        readonly="readonly"
                        id="dischargeApply_txtBZ"
                        class="textMultiLine"
                        style="width: 98%"
                      >{{WWData.BZ}}</textarea>
                              </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    签章:
                                    <span
                                      id="vpnEdizgBill_YHQZ1"
                                      class="textlable"
                                      readonly="True"
                                      style="
                                        display: inline-block;
                                        width: 100px;
                                      "
                                    >{{ WWData.YHQZ }}</span>
                                    日期:
                                    <span
                                      id="vpnEdizgBill_QZRQ1"
                                      class="textlable"
                                      readonly="True"
                                      style="
                                        display: inline-block;
                                        width: 130px;
                                      "
                                    >{{ WWData.QZRQ }}</span>
                                  </td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="8px">
                    <tbody><tr>
                        <td  class="k01 kTitle">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tbody><tr>
                                    <td>以下由登记部门填写</td>
                                </tr>
                            </tbody></table>
                        </td>
                        
                    </tr>
                </tbody></table>
                <table width="100%" border="0" cellspacing="0" cellpadding="6px">
                <tbody>
                  <tr>
                    <td width="50%" valign="top" class="k01">
                      经办人意见:
                      <textarea
                        name="dischargeApply$txtJBRYJ"
                        rows="2"
                        cols="20"
                        readonly="readonly"
                        id="dischargeApply_txtJBRYJ"
                        class="textMultiLine"
                        style="width: 98%"
                      >{{ WWData.JBRYJ }}</textarea>
                      <table
                        width="100%"
                        border="0"
                        cellspacing="0"
                        cellpadding="0"
                        style="margin-top: 10px"
                      >
                        <tbody>
                          <tr>
                            <td style="text-align: right">
                              签章:
                              <span
                                id="dischargeApply_txtJBR"
                                class="textlable"
                                readonly="True"
                                style="display: inline-block; width: 65px"
                              >{{ WWData.JBR }}</span>
                              日期:
                              <span
                                id="dischargeApply_txtJBRQ"
                                class="textlable"
                                readonly="True"
                                style="display: inline-block; width: 130px"
                              >{{ WWData.JBRQ }}</span>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                    <td valign="top" class="k02">
                      备注:
                      <textarea
                        name="dischargeApply$txtBZ2"
                        rows="4"
                        cols="20"
                        readonly="readonly"
                        id="dischargeApply_txtBZ2"
                        class="textMultiLine"
                        style="width: 98%"
                      >{{ WWData.BZ2 }}</textarea>
                    </td>
                  </tr>
                  <tr>
                    <td valign="top" class="k01">
                      中国电子口岸上海数据分中心核准意见:
                      <textarea
                        name="dischargeApply$txtFZXSHYJ"
                        rows="2"
                        cols="20"
                        readonly="readonly"
                        id="dischargeApply_txtFZXSHYJ"
                        class="textMultiLine"
                        style="width: 98%"
                      >{{ WWData.FZXSHYJ }}</textarea>
                      <table
                        width="100%"
                        border="0"
                        cellspacing="0"
                        cellpadding="0"
                        style="margin-top: 10px"
                      >
                        <tbody>
                          <tr>
                            <td style="text-align: right">
                              签章:
                              <span
                                id="dischargeApply_txtFZXSHR"
                                class="textlable"
                                readonly="True"
                                style="display: inline-block; width: 65px"
                              >{{ WWData.FZXSHR }}</span>
                              日期:
                              <span
                                id="dischargeApply_txtFZXRQ"
                                class="textlable"
                                readonly="True"
                                style="display: inline-block; width: 130px"
                              >{{ WWData.FZXSHRQ }}</span>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                    <td valign="top" class="k02">
                      技术审核意见:
                      <textarea
                        name="dischargeApply$txtJSCSHYJ"
                        rows="2"
                        cols="20"
                        readonly="readonly"
                        id="dischargeApply_txtJSCSHYJ"
                        class="textMultiLine"
                        style="width: 98%"
                      >{{ WWData.JSCSHYJ }}</textarea>
                      <table
                        width="100%"
                        border="0"
                        cellspacing="0"
                        cellpadding="0"
                        style="margin-top: 10px"
                      >
                        <tbody>
                          <tr>
                            <td style="text-align: right">
                              签章:
                              <span
                                id="dischargeApply_txtJSCSHR"
                                class="textlable"
                                readonly="True"
                                style="display: inline-block; width: 65px"
                              >{{ WWData.JSCSHR }}</span>
                              日期:
                              <span
                                id="dischargeApply_txtJSCSHRQ"
                                class="textlable"
                                readonly="True"
                                style="display: inline-block; width: 130px"
                              >{{ WWData.JSCRQ }}</span>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
        </tr>
    </tbody></table>
    </div>
    </div>
  </div>
  <div v-else>
    <el-empty description="暂无数据"></el-empty>
  </div>
  </div>
</template>

<script>
export default {
  name: "TS",
  props: {
     formData: {
      type: Object,
      required: true,
    },
    record: {
      type: Object,
      required:true
    }
  },
  data() {
    return {
      // 表单一
      WWData: {}, 
      // 基本项目信息
      formRecord: {},
    }
  },
  created() {
      this.init()
    },
  methods: {
    //数据格式转换
    init() {
      if (this.formData.T_APP_COLLABORATION) {
        this.WWData = this.formData.T_APP_COLLABORATION
      } else {
        this.WWData = null
      }
      
      this.formRecord = this.record
      },
  }
};
</script>

<style lang="scss" scoped>
@import "~@/views/businessModule/historicalData/components/style/table_min.css";
</style>
